package cmarter.dev.service;

import org.springframework.stereotype.Repository;

import utils.HttpHelper;
import cmarter.dev.service.interfaces.JenkinsTriggerInterface;

@Repository("JenkinsTriggerService")
public class JenkinsTriggerService implements JenkinsTriggerInterface {

	
	public boolean triggerBuild(String branchName) {
		try {
			HttpHelper.sendPost(branchName);
		} catch (Exception e) {
			e.printStackTrace();
		}
		return false;
	}

}
